-- GENERATED SPELL FOR [Shadowsword Guardian] --


function spell0_25508(pUnit, Event) --@Bear Down,n/a--
pUnit:FullCastSpellOnTarget(46239,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25508', 4500, 1)
end

function Sorts_25508(pUnit, Event)
local choix_sorts_25508 = math.random(0, 0)
if choix_sorts_25508 == 0 then
pUnit:RegisterEvent('spell0_25508', 1, 1)
end
end

function mob25508_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25508', math.random(1500, 3000), 1)
end

function mob25508_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25508_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25508_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25508, 1, 'mob25508_Action')
RegisterUnitEvent(25508, 2, 'mob25508_Leave')
RegisterUnitEvent(25508, 3, 'mob25508_Kill')
RegisterUnitEvent(25508, 4, 'mob25508_Die')
